<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="login.css" />
    <title>登录界面</title>
</head>
<body>
<div id="bigBox">
    <h1>LOGIN</h1>
    <div class="inputBox">
        <div class="inputText">
            <span class="iconfont icon-user"></span>
            <input type="text" placeholder="username" />
        </div>
        <div class="inputText">
            <span class="iconfont icon-password"></span>
            <input type="password" placeholder="password" />
        </div>
        <input type="button" value="LOGIN" class="inputButton" id="Login">
    </div>
</div>
</body>
</html>
<script>
    let login = document.getElementById("Login");
    login.onclick = function (){
        window.location.href='home.html';
    }
</script>